﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true" CodeBehind="ListSupport.aspx.cs" Inherits="ADC.Web.Admin.ListSupport" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolderData" runat="server">
<div class="content-outer">
        <div class="content-inner">
            <div class="title_border_nopadd">
                <h1>
                    Danh sách hỗ trợ</h1>
                <div class="dash-sub-menu">
                </div>
            </div>
            <asp:GridView ID="GridViewSupport" runat="server" EnableModelValidation="True" 
        HeaderStyle-CssClass="gridview-header" CssClass="gridview" PagerStyle-CssClass="pgr"
        AlternatingRowStyle-CssClass="alt" 
        onrowediting="GridViewSupport_RowEditing"
        onrowdeleting="GridViewSupport_RowDeleting">
        <Columns>
            <asp:TemplateField Visible="false">
                <ItemTemplate>
                    <asp:Label Visible="false" ID="lblSupportID" runat="server" Text='<%#Eval("SupportID") %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Nickname" ItemStyle-CssClass="gridview-item">
                <ItemTemplate>
                    <label>
                        <%#Eval("NickName") %>
                    </label>
                </ItemTemplate>
                <ItemStyle Width="350px" />
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Name" ItemStyle-CssClass="gridview-item">
                <ItemTemplate>
                    <label>
                        <%#Eval("Name") %>
                    </label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Action" >
                <ItemTemplate>                
                    <asp:ImageButton CommandName="Edit" ImageUrl="~/Admin/images/user_edit.png" ID="btnEdit"
                                    runat="server" /> <asp:ImageButton CommandName="Delete" ImageUrl="~/Admin/images/trash.png" ID="btnDelete"
                                    runat="server" OnClientClick="return confirm('Bạn có chắc là muốn xóa?');" />
                </ItemTemplate>
                <ItemStyle Width="150px" />
            </asp:TemplateField>            
        </Columns>
    </asp:GridView>


            <div class="customize">
                <ul>
                    <li><span>
                        <asp:LinkButton CssClass="button" ID="LinkButtonAddNew" PostBackUrl="~/Admin/ManageSupport.aspx?Mode=0"
                            runat="server" >Thêm mới</asp:LinkButton>
                    </span></li>
                </ul>
            </div>
        </div>
       </div>
      <br style="clear: left;" />


            </div>

            </div>

</asp:Content>
